Skip to content

Cherry-picks for the 4.0 branch (future 4.0.3) - 3rd batch - #76476

Merged
akien-mga merged 42 commits into
godotengine:4.0from
YuriSizov:4.0-cherrypicks
Apr 26, 2023
Merged

Cherry-picks for the 4.0 branch (future 4.0.3) - 3rd batch#76476
akien-mga merged 42 commits into
godotengine:4.0from
YuriSizov:4.0-cherrypicks

Conversation

@YuriSizov

Copy link
Copy Markdown
Contributor

Also updates the changelog. Should be the final batch for RC1.

kleonc and others added 30 commits April 26, 2023 14:14
Fixes NavigationMesh baking for HeightMapShape.

(cherry picked from commit 71c453a)
Rediff patch from PR 1453, lstrlenW is no longer used upstream so
that part of the patch was dropped.

(cherry picked from commit 1fde209)
- file_format, header_guards and clang-format benefit from this short list.
- dotnet-format, Python and JS checks don't, but they're only relevant for
  PRs changing a specific set of files, so we skip them when those files
  aren't modified.

The logic to get changed files only works reliably for:
- Pull request events
- Non-force pushed push events

So when force pushing a branch in your fork, or creating a new branch,
it will still scan all files as fallback.

Upgraded CI runner to Ubuntu 22.04 so we get clang-format 14 out of the box,
so we don't need to install a custom version (saves ~15 s). We also cache
the APT dependencies to speed up the build and avoid flaky Ubuntu/Microsoft
repos.

(cherry picked from commit 068f893)
The checkout might be too shallow so the before commit isn't available.
The logic was already written to take this into account (it then generates
an empty 'changed.txt' which falls back to testing everything), but the
error code would still force terminate the job.

Hopefully we can find a way to make the logic work for merge events too in
the future, but for now this is a quick fix.

(cherry picked from commit 9063e90)
The file would be one byte (newline) so the check with '-s' failed.

(cherry picked from commit 39d24ee)
(cherry picked from commit 899da22)
…derer editor setting to expose an enum to users

(cherry picked from commit 48ebae7)
Version 7.3.0 changes the build layout which causes updates to the generated shared libraries to not be picked up.

(cherry picked from commit 4507d3a)
…edit and fix related animation player crash

(cherry picked from commit b6abb34)
(cherry picked from commit 10fe6f1)
(cherry picked from commit 048f94f)
… change

Previously, in CodeTextEditor, `line_spacing` was forgotten to update
when the editor setting property changed.

(cherry picked from commit 23d6225)
This helps to find such classes without digging
through the rest of the class reference.
Editor-only classes can still be found under
your normal "Node" and "Resource" types.

This also fixes a typo and a missed case from the recent platform docs PR.

(cherry picked from commit 3ae282b)
@akien-mga
akien-mga merged commit ba004ea into godotengine:4.0 Apr 26, 2023
@akien-mga

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.